package com.api.shopapi.service;

import com.api.shopapi.entity.SBJSleepAlarm;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

@Service
public interface SBJSleepAlarmService {

    int insert(SBJSleepAlarm sleepAlarm);

    PageInfo<SBJSleepAlarm> getSleepAlarmPageByDeviceId(int pageIndex, int pageSize, String deviceId, String startTime, String endTime);
}
